package com.ccit.paas.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;


/**
 * 学生信息表PO类
 *
 * @author: chinacoalit.com
 * @date 2024/1/9 15:49
 * @version: v1.0 初始化
 */
@Data
@Component
@TableName(value = "student")
public class StudentPO extends BasePO<StudentPO>{

    /**
     * 主键
     */
    @ExcelProperty(value = "主键", index = 0)
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称", index = 1)
    @TableField(value = "name")
    private String name;

    /**
     * 性别
     */
    @ExcelProperty(value = "性别", index = 2)
    @TableField(value = "sex")
    private String sex;

    /**
     * 地址
     */
    @ExcelProperty(value = "地址", index = 3)
    @TableField(value = "address")
    private String address;
}
